package com.pks.datacenter.entity.api;

import lombok.Data;
import lombok.EqualsAndHashCode;

import com.pks.util.coder.database.DBField;
import com.pks.util.coder.database.DBQuery;
import com.pks.util.coder.database.DBTable;
import com.pks.web.mybatis.entity.BasicEntity;

@Data
@EqualsAndHashCode(callSuper = true)
@DBTable(tags = "24小时内接口调用记录" , index_normal = {"apiUserId,apiId","apiUserAccount,apiMethodName"})
public class ApiRecord extends BasicEntity {
	

	
	
	/**
	*
	*/
	private static final long serialVersionUID = -5626909232712254862L;
	
	
	@DBField(comment = "接口账号ID")
	@DBQuery
	private Long apiUserId;
	
	@DBField(comment = "接口账号名")
	@DBQuery
	private String apiUserAccount;
	
	@DBField(comment = "接口ID")
	@DBQuery
	private Long apiId;
	
	@DBField(comment = "接口名称")
	@DBQuery
	private String apiMethodName;
	
	
	
	public ApiRecord(){
		super();
	}


}
